package com.xue.util;


/**
 * 
 * @ClassName: MyException 
 * @Description: 自定义异常处理
 * @author zzx
 *
 * @date 2020年1月6日
 */
public class MyException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public MyException(){
		//dong nothing because of X and Y
	}
	/**
	 * Create with message
	 * @param msg
	 */
    public MyException(String msg){
    	super(msg);
    }
    /**
     * Create with cause
     * @param cause
     */
    public MyException(Throwable cause) {
    	super(cause);
    }
    /**
     * Create with message and cause
     * @param msg
     * @param cause
     */
    public MyException(String msg, Throwable cause) {
    	super(msg, cause);
    }

}
